<template>
	<view class="flex-center">
		<view>
			<view class="flex-center">
				<image :src="imgUrl" mode="aspectFill" :style="{'width':width + 'rpx','height':height + 'rpx'}"></image>
			</view>
			<view style="margin-top:20rpx;color:#5A669E" class="flex-center text-26">{{content}}</view>
		</view>
	</view>
</template>

<script setup>
	import {
		defineProps
	} from 'vue';

	const props = defineProps({
		content: {
			type: String,
			default: "暂无数据",
		},
		imgUrl: {
			type: String,
			default: "@/static/logo.png",
		},
		width: {
			type: Number,
			default: 0,
		},
		height: {
			type: Number,
			default: 0,
		}
	})
</script>

<style>
</style>